package org.amicofragile.bank;

public class FirstNamePromotionManager implements PromotionManager {
	@Override
	public void applyPromotions(Account a) {
		String firstName = a.getOwner().getFirstname();
		if("Pietro".equalsIgnoreCase(firstName)) {
			a.deposit(100.0);
		}
	}
}
